<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!-- 引入artDialog 组件 -->
    <script src="js/artDialog/artDialog.js?skin=aero"></script>
    <script src="js/art02.js"></script>
</head>
<body>
<script>
    function aa(){
        art.dialog.confirm('是不是要打开百度？', function () {
            //art.dialog.tips('执行确定操作');
            location.href='http://www.baidu.com';
        }, function () {
            art.dialog.tips('不去百度!!!');
        });
    }
</script>
<button onclick="art.dialog.alert('人品越来越不那么稳定了，请检查！');">art.alert</button><br><br>
<button onclick="aa()">baidu.com</button><br><br>
<button onclick="art.dialog.prompt('请输入图片网址', function (val) {
    art.dialog.tips(val);
}, 'http://');">输入框</button><br><br>
<button onclick="art.dialog.tips('save......');">tips</button><br><br>
</body>
</html>